wayland: Return the right type atom on gdk_selection_property_get()
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 29 Jun 2015 15:54:57 +0000 (17:54 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 29 Jun 2015 16:39:33 +0000 (18:39 +0200)
commitde68968f89a5e9b987ff441cc127010c12d8f606
treee569b5b6fd869ee7a1ac09b7ae4c565d939b4440
parent50178ce0147388ceffd7cafedfd85befcdfc4137
wayland: Return the right type atom on gdk_selection_property_get()

We mistakenly forced the "STRING" type, which was able to confuse higher
layer helpers like gtk_selection_data_get_uris(). This fixes a crash
happening anytime a drop is attempted on a GtkPlacesSidebar.
gdk/wayland/gdkselection-wayland.c